﻿<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" Inherits="CKS.EWE.ApplicationPages.CreateWebPage, CKS.EWE, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9354ace0fa298693" MasterPageFile="~/_layouts/application.master" %>

<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
	Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBar" Src="~/_controltemplates/ToolBar.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBarButton" Src="~/_controltemplates/ToolBarButton.ascx" %>
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
	Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
	<SharePoint:EncodedLiteral runat="server" Text="<%$Resources:wss,webpagecreation_newwk_pagetitle%>"
		EncodeMethod='HtmlEncode' />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:EncodedLiteral runat="server" Text="<%$Resources:wss,webpagecreation_newwk_pagetitle%>"
		EncodeMethod='HtmlEncode' />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
	<SharePoint:ScriptLink Name="form.js" Language="javascript" runat="server" />
	<style type="text/css">
.ms-bodyareaframe {
	background-color: #ffffff;
	padding: 8px;
	border: none;
	width: 0%;
}
.ms-rightareacell {
	width: 100%;
}
</style>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageImage" runat="server" />
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
	<table cellpadding="0" cellspacing="0" width="100%" style="padding-top: 7px">
		<tr>
			<td width="100%">
				<wssuc:ToolBar CssClass="ms-formtoolbar" id="toolBarTblTop" RightButtonSeparator="&nbsp;"
					runat="server">
					<template_rightbuttons>
					<asp:button ID="btnCreateTop"
						text="<%$Resources:wss,multipages_createbutton_text%>"
						AccessKey="<%$Resources:wss,multipages_createbutton_accesskey%>"
						CssClass="ms-ButtonHeightWidth"
						OnClick="SubmitBtn_Click" runat="server"/>
					<SharePoint:GoBackButton ControlMode="New" runat="server" />
				</template_rightbuttons>
				</wssuc:ToolBar>
			</td>
		</tr>
	</table>
	<table class="ms-formtable" style="margin-top: 8px;" border="0" cellpadding="0" cellspacing="0"
		id="formTbl" width="100%">
		<tr>
			<td valign="top" class="ms-formbody" width="625px">
				<b>
					<label for="<%=Name.ClientID%>">
						<SharePoint:FieldLabel FieldName="FileLeafRef" ControlMode="New" runat="server" />
					</label>
				</b>&nbsp;
				<asp:TextBox ID="Name" name="Name" runat="server" />
				<span class="ms-authoringcontrols"></span>
				<wssawc:UrlNameValidator ID="CusValSiteName" ControlToValidate="Name" runat="server" />
				<br />
				<span class="ms-formvalidation">
					<asp:Label ID="Error" name="Error" runat="server" /></span>
			</td>
		</tr>
		<SharePoint:ListFieldIterator TemplateName="WideFieldListIterator" ExcludeFields="FileLeafRef"
			ControlMode="New" runat="server" />
	</table>
	<table cellpadding="0" cellspacing="0" width="100%">
		<tr>
			<td class="ms-formline">
				<img src="/_layouts/images/blank.gif" width="1" height="1" alt=""></td>
		</tr>
	</table>
	<table cellpadding="0" cellspacing="0" width="100%" style="padding-top: 7px">
		<tr>
			<td width="100%">
				<wssuc:ToolBar CssClass="ms-formtoolbar" id="toolBarTbl" RightButtonSeparator="&nbsp;"
					runat="server">
					<template_rightbuttons>
					<asp:button ID="btnCreate"
						text="<%$Resources:wss,multipages_createbutton_text%>"
						AccessKey="<%$Resources:wss,multipages_createbutton_accesskey%>"
						CssClass="ms-ButtonHeightWidth"
						OnClick="SubmitBtn_Click" runat="server"/>
					<SharePoint:GoBackButton ControlMode="New" runat="server" />
				</template_rightbuttons>
				</wssuc:ToolBar>
			</td>
		</tr>
	</table>

	<script id="onetidPageTitleAreaFrameScript">
		 document.getElementById("onetidPageTitleAreaFrame").width="";
		 document.getElementById("onetidPageTitleAreaTable").width="";
	</script>

</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderTitleAreaSeparator" runat="server" />
